words = {}
for line in io.lines(arg[1]) do
    words[line] = true
end

to_check = {}
for word in string.gfind(arg[2], "%a+") do
    table.insert(to_check, word)
end

for i, word in ipairs(to_check) do
    lower_word = string.lower(word)
    if not words[lower_word] then
	io.write(word .. '\n')
    end
end
